

// eslint-disable-next-line no-unused-vars
import react, { Component } from "react";
import { createBrowserHistory, History } from '@types/history'
import { HashRouter, Route} from "react-router-dom";
// import { Button } from 'antd';

import Login from "./pages/login/index.jsx"
import Admin from "./pages/admin/index.jsx"
export default class App extends Component {

  render() {
    return (
      <createBrowserHistory>
        <History path="/login" component={Login}></History>
        <History path="/admin" component={Admin}></History>
      </createBrowserHistory>
    )
  }
}